package com.workManager.mapper;

import com.workManager.pojo.TbProjectTotalCost;
import com.workManager.pojo.TbProjectTotalCostExample;
import java.util.List;
import java.util.Map;

import com.workManager.vo.ProjectTotalCostVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TbProjectTotalCostMapper {
    int countByExample(TbProjectTotalCostExample example);

    int deleteByExample(TbProjectTotalCostExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbProjectTotalCost record);

    int insertSelective(TbProjectTotalCost record);

    List<TbProjectTotalCost> selectByExample(TbProjectTotalCostExample example);

    TbProjectTotalCost selectByPrimaryKey(Integer id);

    List<ProjectTotalCostVo> selectByProjectCode(String projectCode);

    List<ProjectTotalCostVo> query(Map map);

    List<TbProjectTotalCost> querySingle(Map map);

    int updateByExampleSelective(@Param("record") TbProjectTotalCost record, @Param("example") TbProjectTotalCostExample example);

    int updateByExample(@Param("record") TbProjectTotalCost record, @Param("example") TbProjectTotalCostExample example);

    int updateByPrimaryKeySelective(TbProjectTotalCost record);

    int updateByPrimaryKey(TbProjectTotalCost record);
}